package com.zc.custom;

import org.springframework.context.ApplicationEvent;

import java.time.Clock;

public class CustomEvent extends ApplicationEvent {
    public CustomEvent(Object source) {
        super(source);
        System.out.println("自定义事件实例化");
    }

    public CustomEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
